package cn.itsource.org.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.org.domain.Department;
import cn.itsource.org.domain.Employee;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department>{

    List<Employee> getManager();

    //获取一级和二级
    List<Department> getOneAndTwo();
    //获取子级
    List<Department> getChildren(Long id);
}
